package com.tanhua.dubbo.api;

/**
 * @author liuyp
 * @date 2021/02/02
 */
public interface FollowUserApi {
    /**
     * 增加关注。userId关注了targetUserId
     * @param userId 用户id
     * @param targetUserId 目标用户id
     */
    void followUser(long userId, long targetUserId);

    /**
     * 取消关注。userId取消对targetUserId的关注
     * @param userId 用户id
     * @param targetUserId 目标用户id
     */
    void unfollowUser(long userId, long targetUserId);
}
